package com.zretc.blog.service;

import com.zretc.common.entity.RespResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(name = "sns-point-service")
public interface PointFeignClient {
    @GetMapping("/point/addBlog")
    RespResult addBlog(@RequestParam("userId") Integer userId);
}
